package br.brpv.silvestrin.conferencia.models;

import java.io.Serializable;

import android.os.Parcel;
import android.os.Parcelable;

public class User implements  Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1212237227945799869L;
	
	private String name;
    private String id;

    public User(String name, String id) {
        this.name = name;
        this.id = id;
    }

    public User(Parcel in) {
        readFromParcel(in);
    }

    private void readFromParcel(Parcel in) {
        name = in.readString();
        id = in.readString();
    }

    public String getName() {
        return name;
    }

    public String getId() {
        return id;
    }

}
